﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cesave.Domain.PermisosModule.Entities;

namespace Cesave.Domain.PermisosModule.Contracts.Areas
{
	/// <summary>
	/// 
	/// </summary>
	public interface IAreaService : IDisposable
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="area"></param>
		void AddArea(Area area);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="area"></param>
		void ChangeArea(Area area);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="area"></param>
		void DeleteArea(Area area);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="juntaGuid"></param>
		/// <returns></returns>
		List<Area> FindAreasByJunta(Guid juntaGuid);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="areaGuid"></param>
		/// <returns></returns>
		Area FindAreaByGuid(Guid areaGuid);
	}
}
